<!DOCTYPE html>
<!-- saved from url=(0057)#page1 -->
<html>
<head lang="en">
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>{{ conf.WEB_TITLE }}</title>
    <meta name="keywords" content="{{ conf.WEB_KEYWORDS }}">
    <meta name="description" content="{{ conf.WEB_DESC }}">

    <!-- Bootstrap -->
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/css/bootstrap.min.css" rel="stylesheet">

    <!-- HTML5 shim 和 Respond.js 是为了让 IE8 支持 HTML5 元素和媒体查询（media queries）功能 -->
    <!-- 警告：通过 file:// 协议（就是直接将 html 页面拖拽到浏览器中）访问页面时 Respond.js 不起作用 -->
    <!--[if lt IE 9]>
    <script src="https://cdn.jsdelivr.net/npm/html5shiv@3.7.3/dist/html5shiv.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/respond.js@1.4.2/dest/respond.min.js"></script>
    <![endif]-->

    <link href="/favicon.ico" rel="shortcut icon">
    {% block css %}
        <link rel="stylesheet" href="/web/css/app.css{{ rnd }}">
        <link rel="stylesheet" href="/web/css/font.css{{ rnd }}">
        <link rel="stylesheet" href="/web/css/color.css{{ rnd }}">
        <link rel="stylesheet" href="/web/css/border.css{{ rnd }}">
        <link rel="stylesheet" href="/web/css/fa.css{{ rnd }}">
        <link rel="stylesheet" href="/web/css/flex.css{{ rnd }}">
        <link rel="stylesheet" href="/web/css/layout.css{{ rnd }}">
        <link rel="stylesheet" href="/web/css/index.css{{ rnd }}">
    {% endblock %}
    {% block myCss %}
        <link rel="stylesheet" href="/app/reset.css{{ rnd }}">
        <link rel="stylesheet" href="/app/style.css{{ rnd }}">
        <link rel="stylesheet" href="/app/index.css{{ rnd }}">
    {% endblock %}
</head>
<body>
{% block body %}
    <div class="shadow3">
        <!-- Static navbar -->
        <nav class="navbar navbar-default navbar-static-top">
            <div class="container">
                <div class="navbar-header">
                    <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
                        <span class="sr-only">Toggle navigation</span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                    </button>
                    <a class="navbar-brand" href="/"><img class="" src="/web/img/logo_top.jpg" alt=""></a>
                </div>
                <div id="navbar" class="navbar-collapse collapse">
                    <div class="nav navbar-nav flcc">

                    </div>
                    <ul class="nav navbar-nav navbar-right h100" >
                        <li class="{{ headTab == "index"? 'active':'' }}"><a class="pad10" href="/">首页</a></li>
                        <li class="dropdown {{ headTab == "zixun"? 'active':'' }}">
                            <a href="/article"  class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
                                资讯
                            </a>
                            <ul class="dropdown-menu">
                                <li><a href="{{ path("articleCatList",{id:id_kszx}) }}">考试资讯</a></li>
                                <li><a href="{{ path("articleCatList",{id:id_ksgg}) }}">考试公告</a></li>
                                <li><a href="{{ path("articleCatList",{id:id_cjcx}) }}">成绩查询</a></li>
                                <li><a href="{{ path("articleCatList",{id:id_msgg}) }}">面试公告</a></li>
                            </ul>
                        </li>
                        <li class="dropdown {{ headTab == "ziliao"? 'active':'' }}">
                            <a href="/files" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
                                资料
                                {#<span class="caret"></span>#}
                            </a>
                            <ul class="dropdown-menu">
                                <li><a href="{{ path("articleCatList",{id:id_sl}) }}">申论资料</a></li>
                                <li><a href="{{ path("articleCatList",{id:id_xc}) }}">行测资料</a></li>
                                <li><a href="{{ path("articleCatList",{id:id_ga}) }}">公安基础</a></li>
                                <li><a href="{{ path("articleCatList",{id:id_sz}) }}">时政热点</a></li>
                                <li><a href="{{ path("articleCatList",{id:id_ms}) }}">面试资料</a></li>
                                {#<li role="separator" class="divider"></li>#}
                                {#<li class="dropdown-header">Nav header</li>#}
                                {#<li><a href="#">Separated link</a></li>#}
                                {#<li><a href="#">One more separated link</a></li>#}
                            </ul>
                        </li>
                        <li class=" {{ headTab == "class"? 'active':'' }}"><a href="{{ path("class") }}">课程</a></li>
                        <li class="dropdown  {{ headTab == "dongtai"? 'active':'' }}">
                            <a href="/news" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
                                动态
                                {#<span class="caret"></span>#}
                            </a>
                            <ul class="dropdown-menu">
                                <li><a href="{{ path("articleCatList",{id:id_xydt}) }}">学生动态</a></li>
                                <li><a href="{{ path("articlePicList",{id:id_xxhd}) }}">线下活动</a></li>
                                <li><a href="{{ path("articlePicList",{id:id_tjhd}) }}">团建活动</a></li>
                            </ul>
                        </li>
                        <li class="dropdown  {{ headTab == "about"? 'active':'' }}">
                            <a href="{{ path("WebPageInfo",{code:"ABOUT_INFO"}) }}" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
                                关于我们
                                {#<span class="caret"></span>#}
                            </a>
                            <ul class="dropdown-menu">
                                <li><a href="{{ path("WebPageInfo",{code:"ABOUT_INFO"}) }}">公司简介</a></li>
                                <li><a href="{{ path("WebPageInfo",{code:"ABOUT_NEWS"}) }}">企业新闻</a></li>
                                <li><a href="{{ path("WebPageInfo",{code:"ABOUT_TEAM"}) }}">团建活动</a></li>
                                <li><a href="{{ path("WebPageInfo",{code:"ABOUT_CONTACT"}) }}">联系我们</a></li>
                                <li><a href="{{ path("WebPageInfo",{code:"ABOUT_FEEDBACK"}) }}">意见反馈</a></li>
                            </ul>
                        </li>
                        <li><a style="padding: 5px;" target="_blank" href="http://www.zhenghuajiaoyu.cn/phpems/phpems/index.php"><img style="width: 60px;height: auto;" src="/web/img/test1.png" alt=""></a></li>
                    </ul>
                </div><!--/.nav-collapse -->
            </div>
        </nav>
    </div>
    <div class="main">
        <div class="container">
            <div class="row">
                {% block banner %}{% endblock %}

                {% block province %}
                    {#省份 start#}
                    {#PC端省份#}
                    <div class="shadow3 flex-r flex-wrap mart20 padt10 padb10 hidden-xs">
                        {% for index,item in province %}
                            {% if index > conf.WEB_PROVINCE_NUM %}
                                <div class="tac fwb lh2 otherProvince" style="min-width: 6.666%;display: none;">
                                    <a class="{{ provinceId == item.id?"bc2 c13 pad5 round3 ":"c11" }}" href="/province?id={{ item.id }}">{{ item.name }}</a>
                                </div>
                            {% else %}
                                <div class="tac fwb lh2" style="min-width: 6.666%;">
                                    <a class="{{ provinceId == item.id?"bc2 c13 pad5 round3 ":"c11" }}" href="/province?id={{ item.id }}">{{ item.name }}</a>
                                </div>
                            {% endif %}
                        {% endfor %}

                        <div class="tac fwb lh2" style="min-width: 6.666%;">
                            <a class="c3 showProvince" href="javascript:;">展开全部</a>
                        </div>
                    </div>

                    {#移动端省份#}
                    <div class="shadow3 scrollX-Box visible-xs">
                        {% for item in province %}<div class="tac fwb lh2 scrollX-Item padl5 padr5">
                            <a class="c11" href="#">
                                <div class="pad10"><a href="/province?id={{ item.id }}">{{ item.name }}</a></div>
                            </a>
                        </div>{% endfor %}
                    </div>
                    {#省份 end#}
                {% endblock %}

                {% block adBanner %}{% endblock %}

                {% block main %}{% endblock %}
            </div>
        </div>
        <div class="container mart30">
            <div class=" jb00 row">
                <div class="row">
                    <div class="col-sm-12 col-md-10 col-md-offset-1 bcf bdso lh2 pad10">
                        <div class="">
                            <div class="red visible-xs"><span class="fa fa-chain fs6"></span> 友情链接</div>
                            <div class="flex-r flex-wrap fwb flex-start">
                                <div class="red hidden-xs"><span class="fa fa-chain fs6"></span> 友情链接</div>
                                {% for item in links %}<a target="_blank" href="{{ item.url }}" class="c11 padl5 padr5">{{ item.name }}</a>{% endfor %}
                            </div>
                        </div>
                    </div>
                </div>
                <div class="row hidden-xs">
                    <div class="pad5">&nbsp;</div>
                </div>
            </div>
        </div>
        <div class="container">

            <div class="foot pad20 tac lh15  hidden-xs">
                <p>{{ conf.WEB_COPY }}</p>
                <p>{{ conf.WEB_ADDRESS }}</p>
            </div>
        </div>
    </div>
{% endblock %}
{#<script type="text/javascript" src="/app/jquery-1.11.0.min.js"></script>#}
<!-- jQuery (Bootstrap 的所有 JavaScript 插件都依赖 jQuery，所以必须放在前边) -->
<script src="https://cdn.jsdelivr.net/npm/jquery@1.12.4/dist/jquery.min.js"></script>
<!-- 加载 Bootstrap 的所有 JavaScript 插件。你也可以根据需要只加载单个插件。 -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/js/bootstrap.min.js"></script>
{% block js %}
    <script>
        $(function () {
            // $(".sf-toolbar").show()

            $(".dropdown").mouseover(function () {
                $(this).addClass("open");
            });

            $(".dropdown").mouseleave(function(){
                $(this).removeClass("open");
            })

            $(".dropdown").click(function () {
                var a = $(this).children("a").attr("href");
                console.log(a);
                location.href = a
            });

            $(".tab").mouseover(function () {
                $(this).parents(".tab_wrap").find(".tab").removeClass("jb00 c13").addClass("bc13 c11")
                $(this).parents(".tab_wrap").find(".tab_content").hide()
                var id = $(this).data("id")
                $(this).addClass("jb00 c13");
                $(".tab_content_" + id).show()
            });
            $(".joinClass").click(function () {
                // var data = $("#join").serializeArray();
                // var data = $("#join").serialize();
                var data = {};
                data["form[name]"] = $(".join_name").val();
                data["form[phone]"] = $(".join_phone").val();
                data["form[school]"] = $(".join_school").val();
                data["form[class]"] = $(".join_class").val();
                console.log(data);

                $.post('{{ path("JoinClass") }}',data,function (res) {
                    console.log(res);
                    if (1 == res.s) {
                        // alert(res.i)
                        $(".alert").show();
                    }
                })
            })
            $(".showProvince").click(function () {
                $(".showProvince").hide();
                $(".otherProvince").show();
            })
        })
    </script>

{% endblock %}
{% block myJs %}
{% endblock %}
</body>
</html>
